package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.WaterDrainApplyDto;
import com.leadingsoft.pwxk.model.WaterDrainApply;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class WaterDrainApplyConverter extends AbstractConverter<WaterDrainApply, WaterDrainApplyDto> {

	protected WaterDrainApplyDto toDtoActual(WaterDrainApply model) {
		// TODO Auto-generated method stub
		WaterDrainApplyDto dto = new WaterDrainApplyDto();
		BeanUtils.copyProperties(model, dto);

		return dto;
	}

	public void copyProperties(WaterDrainApply model, WaterDrainApplyDto dto) {
		// model.setId(dto.getId());
		// model.setDataid(dto.getDataid());
	}

}
